home *** CD-ROM | disk | FTP | other *** search
- Path: alpha.ru.ac.za!cspw
- From: cspw@cs.ru.ac.za (Peter Wentworth)
- Newsgroups: comp.lang.c++
- Subject: Re: first language
- Date: 5 Jan 96 07:51:27 GMT
- Organization: Computer Science Department, Rhodes University
- Message-ID: <cspw.820828287@alpha>
- NNTP-Posting-Host: alpha.ru.ac.za
- NNTP-Posting-User: cspw
- X-Newsreader: NN version 6.5.0 (NOV)
-
- >> Is C++ a good language for a beginner to learn on?
-
- C++ could be great, but it needs someone to guide you.
- C++ has the great advantage that one can effectively hide
- complexity inside classes. So, for example, your instructor
- can provide a great array package or a good string type,
- with all those attributes that ought to be present in a
- good teaching tool (i.e. subscript checks, ability to
- return strings from functions, isolation from memory
- management issues, and so on).
-
- So I think it would be a great idea to learn fundamental
- concepts in C++, but a beginner cannot hope to be able to
- discern what to tackle and what not to tackle at first.
- (And in response to another poster, yes, many people have
- horrendous problems with the more esoteric features in C++.
- And most C++ books are written by compiler-writer-types,
- so they're really interested how cleverly and tightly they
- can convolute things, and how these esoteric features can
- (or cannot) interact. So you get friends of template classes
- which use multiple inheritance and the envelope idiom...
- You won't learn C++ as a beginner unless someone guides you
- around these pitfalls at first.)
-
- My opinion, of course...
-
- Peter
- --
- EP Wentworth - Dept. of Comp. Sci. - Rhodes University - Grahamstown - RSA.
- cspw@cs.ru.ac.za Knuth's Caveat: "While I have informally proved it,
- fax: +27 461 311915 I haven't tested it much."
-
-